package com.jianglin.state2.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jianglin.state2.dao.entity.Team;
import com.jianglin.state2.dao.mapper.TeamMapper;
import com.jianglin.state2.service.TeamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeamServiceImpl extends ServiceImpl<TeamMapper, Team> implements TeamService {

    @Autowired
    TeamMapper teamMapper;

    @Override
    public List<Team> selectCountByTeam(){
        return teamMapper.selectCountByTeam();
    }
}
